import React from "react";
import { Link } from "react-router-dom"; 

export default function Index() {
  return (
    <header className="links">
      <Link to="/house">列表</Link>
      <Link to="/my">我的</Link>
      <Link to="/login">登陆</Link>
    </header>
  );
}